package common;

import cn.hutool.core.lang.Console;
import common.interfaceClass.WatchOut;

import java.util.concurrent.*;

/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author song
 * @date 2021/11/24 16:04
 */
public abstract class AbstractCouponService implements WatchOut {


    protected static final ExecutorService executorService =
            new ThreadPoolExecutor(
                    16, 32, 1, TimeUnit.MINUTES,
                    new LinkedBlockingQueue<>(1024), (ThreadFactory) Thread::new);

    @Override
    public void la() {
        Console.error("--->> 调用了La方法");
    }

    @Override
    public void see() {
        Console.error("--->> 调用了see方法");
    }
}
